#include "stdafx.h"
#include "GlassesParamRecognition.h"
#include <QtWidgets/QApplication>
#include "GenHeadWithCylinder.h"

int main(int argc, char *argv[])
{
	AllocConsole(); 
	freopen("CON", "r", stdin);
	freopen("CON", "w", stdout);
	freopen("CON", "w", stderr);
	QApplication a(argc, argv);
//	GenHeadWithCylinder m_dataGen;
//	m_dataGen.LoadAndCalData("SaveData\\", false);

	GlassesParamRecognition w;
	w.show();
	int iRet =  a.exec();
	FreeConsole();
	return iRet;
}
